home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 8 / FM Towns Free Software Collection 8.iso / t_os / artemis / artsrc2 / text.c < prev    next >
C/C++ Source or Header  |  1994-06-01  |  535b  |  35 lines

  1. /*
  2.     text.c
  3.  
  4.     グラフィック画面とテキスト画面を合成するためのライブラリ
  5. */
  6.  
  7. #include <stdio.h>
  8. #include <conio.h>
  9. #include <fmcfrb.h>
  10. #include <ryosuke.h>
  11. #include <usrlib.h>
  12.  
  13. void text_init(void)        // ページ1をテキスト画面に設定する
  14. {
  15.     VDB_init();
  16.     VDB_kind(0);
  17.     VDB_cls();
  18.     VDB_ATR atr;
  19.     atr.charatr = 0;
  20.     atr.dispatr = 0x20;
  21.     atr.color = 7;
  22.     VDB_setdefatr(&atr);
  23. }
  24.  
  25. void text_end(void)
  26. {
  27.     VDB_ATR atr;
  28.     atr.charatr = 0;
  29.     atr.dispatr = 0;
  30.     atr.color = 7;
  31.     VDB_setdefatr(&atr);
  32. }
  33.  
  34. /* end of text.c */
  35.